#if !defined(__APP_MESSAGE_H)
#define __APP_MESSAGE_H

#include "cJSON/cJSON.h"
#include "string.h"
#include "stdlib.h"
#include "log/log.h"
#include "app_common.h"

/**
 * 将字符数组转换为JSON字符串
 */
char *app_message_CharsToJsonStr(char *chars, int chars_len);

/**
 * 将JSON字符串转换为字符数组
 */
int app_message_JsonStrToChars(char *json_str, char *chars_buff, int chars_buff_len);

#endif // __APP_MESSAGE_H
